<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型之边框</title>
    <style>
        /* border-style 边框的样式: solid 实现边框 dashed 虚线边框 dotted 点线边框 */
        body div {
            width: 300px;
            height: 200px;
            /* border-width 边框的粗细 一般情况下用 px */
            border-width: 5px;
            margin: 2em;
            display: inline-block;
        }


        .sd {

            border-style: solid;
            color: aqua;
        }

        .dsd {

            border-style: dashed;

        }

        .dtd {

            border-style: dotted;
            color: pink;
        }
    </style>
</head>

<body>
    <div class="sd"></div>
    <div class="dsd"></div>
    <div class="dtd"></div>
</body>

</html>